linking/runtime-linking

link function at runtime on Windows

rule:
  meta:
    name: link function at runtime on Windows
    namespace: linking/runtime-linking
    authors:
      - moritz.raabe@mandiant.com
      - mehunhoff@google.com
    scopes:
      static: instruction
      dynamic: call
    att&ck:
      - Execution::Shared Modules [T1129]
    examples:
      - 9324D1A8AE37A36AE560C37448C9705A:0x404130
      - Practical Malware Analysis Lab 01-04.exe_:0x401350
  features:
    - and:
      - os: windows
      - or:
        - api: kernel32.GetProcAddress
        - api: ntdll.LdrGetProcedureAddress
        - api: ntdll.LdrGetProcedureAddressEx
        - api: ntdll.LdrGetProcedureAddressForCaller
        - api: MmGetSystemRoutineAddress

last edited: 2025-03-19 17:29:07